<?php

pref('[Loop]/views/pathToUiProfilingBar.html', '/[Loop]/Html/Ui.ProfilingBar.html');
pref('[Loop]/views/pathToUiProfilingBar.css', '/[Loop]/Stylesheet/Ui.ProfilingBar.css');

render('/[Loop]/Html/Snippet.Header.html');

?>
<div class="container" style="font-size: 13px; line-height: 19px;">
	<br />
	<div class="navbar">
		<div class="navbar-inner">
			<a class="brand" href="<?php p(url(uri('/[Loop]/Html/Page.Admin.html'))); ?>">Loop</a>
			<ul class="nav">
				<li><a href="<?php p(url(uri('/[Loop]/Html/Page.Admin.Documentation.html'))); ?>"><?php p(str('/Html/Page.Admin.Documentation.html')); ?></a></li>
				<li><a href="<?php p(url(uri('/[Loop]/Html/Page.Admin.Sandbox.html'))); ?>"><?php p(str('/Html/Page.Admin.Sandbox.html')); ?></a></li>
				<li><a href="<?php p(url(uri('/[Loop]/Html/Page.Admin.Profiling.html'))); ?>"><?php p(str('/Html/Page.Admin.Profiling.html')); ?></a></li>
				<?php

				if (app()->getProfilingManager()->isProfilingStarted() === true)
				{

				?>
				<li><a href="<?php p(url('[Loop]/action/ProfilingManager.start')); ?>"><span class="icon icon-refresh"></span></a></li>
				<li><a href="<?php p(url('[Loop]/action/ProfilingManager.stop')); ?>"><span class="icon icon-stop"></span></a></li>
				<?php

				}
				else
				{

				?>
				<li><a href="<?php p(url('[Loop]/action/ProfilingManager.start')); ?>"><span class="icon icon-play"></span></a></li>
				<?php

				}

				?>
				<li><a href="<?php p(url(uri('/[Loop]/Html/Page.Admin.Test.html'))); ?>"><?php p(str('/Html/Page.Admin.Test.html')); ?></a></li>
				<li><a href="<?php p(url(uri('/[Loop]/Html/Page.Admin.Tickets.html'))); ?>"><?php p(str('/Html/Page.Admin.Tickets.html')); ?></a></li>
				<li><a href="<?php p(url(uri('/[Loop]/Html/Page.Admin.Security.html'))); ?>"><?php p(str('/Html/Page.Admin.Security.html')); ?></a></li>
				<li><a href="<?php p(url(uri('/[Loop]/Html/Page.Admin.Objects.html'))); ?>"><?php p(str('/Html/Page.Admin.Objects.html')); ?></a></li>
			</ul>
		</div>
	</div>
